package com.scm.biz.dao;

import java.util.List;

import com.scm.biz.bean.ProofingPattern;
import com.scm.biz.dto.ProofingPatternDto;
import com.scm.biz.result.ProofingPatternResult;

public interface ProofingPatternDao {
    int deleteByPrimaryKey(Long id);

    int insert(ProofingPattern record);

    int insertSelective(ProofingPattern record);

    ProofingPattern selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ProofingPattern record);

    int updateByPrimaryKey(ProofingPattern record);
    public List<ProofingPatternResult> selectByProofingOrderId(
			Long proofingOrderId);
    public List<ProofingPattern> selectListByOrderId(
			Long proofingOrderId);
    
    /**
     * 根据ID集合，查询数据
     * @param ids
     * @return
     */
    List<ProofingPatternDto> selectByIds(List<Long> ids);
    
    /**
     * 根据打样款式ID，查询状态
     * @param id
     * @return
     */
    Integer selectStatusById(Long id);
}